﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace DesktopRibbon.Launcher
{
    [Serializable]
    public class Page
    {
        #region Fields
        
        private List<Group> groups = new List<Group>();

        #endregion

        #region Properties

        [XmlAttribute]
        public String Label;

        [XmlElement("Group")]
        public List<Group> Groups
        {
            get
            {
                return groups;
            }

            set
            {
                groups = value;
            }
        }

        #endregion

        #region Constructors

        public Page()
        {
            Label = "<new tab>";
        }

        #endregion
    }
}
